<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class HospitalPackage extends Model
{
    use HasFactory;
    use HasFactory;
    use SoftDeletes;
    protected $guarded=[];
    protected $table='hospital_package';
    /**
     * 医院信息展示
     * @return mixed
     */
    public static function lists(){
        return self::paginate(10);
    }
    /**
     * 医院信息查找
     * @param $where
     * @return mixed
     */
    public static function Seek($field,$where){
        return self::where($field,'like',"%$where%")->get();
    }

}
